So you have an existing PHP application and would like to spice it up with a rich and attractive front-end. Next to Adobe Flex, you can also choose Silverlight as a solution. This session shows you around in Silverlight and shows that PHP and Silverlight can go together easily.
2. So you have an existing PHP application and would like to spice it up with a rich and attractive front-end. Next to Adobe Flex, you can also choose Silverlight as a solution. This session shows you around in Silverlight and shows that PHP and Silverlight can go together easily. PHP and Silverlight
3. Maarten Balliauw Maarten Balliauw is a technical consultant in web technologies at RealDolmen, one of Belgium's biggest ICT companies. His interests are ASP.NET (MVC), PHP and Windows Azure. He's a Microsoft Most Valueable Professional (MVP) ASP.NET and has published many articles in both PHP and .NET literature such as MSDN magazine Belgium and PHP architect. Maarten is a frequent speaker at various national and international events. His blog can be found at http://blog.maartenballiauw.be.
4. Kevin Dockx Kevin Dockx lives in Belgium and works at RealDolmen, one of Belgium's biggest ICT companies, where he is a technical specialist/project leader on .NET web applications, mainly Silverlight, and a solution manager for Rich Applications (Silverlight, WPF, Surface). His main focus lies on all things Silverlight, but he still keeps an eye on the new developments concerning other products from the Microsoft .NET (Web) Stack. As a Silverlight enthusiast, he's a regular speaker on various national and international events, like Microsoft DevDays in The Netherlands or on BESUG events (the Belgian Silverlight User Group). His blog, which contains various tidbits on Silverlight, .NET, and the occasional rambling, can be found at http://blog.kevindockx.com/. He is the co-author of the Silverlight 4 Data and Services Cookbook (by Packt Publishing)
5. Start with the title slide Keep the two hidden slides(#2) for speaker and session description Use the “Demo” Layout for Demos if using Powerpoint 2010, please use sections There’s a “black” and a “white” layouts if necessary End with the Q&A, “thank you”, “fill the forms” and the “Microsoft Potential + Passion” slide Quick guide
6. Maarten Balliauw Technical consultant in web technologies at MVP ASP .NET Interested in interop PHPExcel, PHPLinq, Windows Azure SDK for PHP, ... E-mail: maarten.balliauw@realdolmen.com Blog: http://blog.maartenballiauw.be Twitter: http://twitter.com/maartenballiauw Who are we?
7. Kevin Dockx Technical Consultant / Solution Manager Rich Applications @ Co-author of the Silverlight 4 Data and Services Cookbook (Packt Publishing) E-mail: kevin.dockx@realdolmen.com Blog: http://blog.kevindockx.com/ Twitter: http://twitter.com/kevindockx Who are we?
8. What is Silverlight? Why Silverlight? Why Silverlight and PHP? Building an application using both More on Silverlight Q&A Agenda
9. Rich Applications are the future, today Adobe Flex Microsoft Silverlight Silverlight “A framework for providing rich applications to the browser” “A cross-browser, cross-platform implementation of the .NET Framework for building and delivering the next generation of Rich Internet Applications for the web” What is Silverlight?
10. 4-5 MB plugin Download once, distributed through Windows Update Also available on Linux (Moonlight) and Mac Runs in browser, on the client Internet Explorer Firefox, Safari, Opera, Chrome Subset of the full .NET Framework Originated from Windows Presentation Foundation Rich UI: XAML / .NET code: C# - VB.NET What is Silverlight?
11. HTML / PHP / ASPX / AJAX Best days are over… Extending HTML (CSS 3, AJAX, …) “like putting lipstick on a pig” Silverlight Stateful model .NET Framework UI Capabilities Cross-platform Why Silverlight?
12. Best of both worlds? PHP Rapid application programming Ideal as back-end using JSON or SOAP Re-use your existing PHP logic Silverlight Rapid user interface development Create rich interfaces using a rich framework Why Silverlight & PHP?
13. XAML “an XML file that defines user interfaces” Tool: Expression Blend (or Eclipse) .NET Rich framework offering endless possibilities Tool: Microsoft Visual Studio (or Eclipse) PHP i.e. Zend Framework Tool: Zend Studio (or Eclipse PDT) Strong separation of UI design & logic Programming Silverlight
14. Visual Studio 2008 SP1 / Visual Studio 2010 (for SL4) Silverlight Tools for VS2008 SP1 / VS2010 (for SL4) Necessary Updates Project Templates Runtime SDK Expression Blend 4.0 RC Possibility: Eclipse4SL - http://www.eclipse4sl.org/ Getting started Use Web Platform Installer (www.microsoft.com/web)
15. Catching up Visual Studio 2008 Silverlight editing possibilities But just like VS2008: still not the rich designer that Expression Blend is… Silverlight 2.0 & 3.O support C# code editor with syntax colorization, keywords and template code completion assist Automatic Build & Run Configurable Web application launch facilities XAML Editor & Preview Cross Platform Capabilities (Mac version available!) http://www.eclipse4sl.org Eclipse 4 SL
16. Allows Eclipsedevelopers to buildRIA with Silverlight Allows Collaborationbetween Web Designers .NET Developers Eclipse Developers(Java, PHP, ..) Why Eclipse 4 SL? Common Project System .NET Developer Web Designer
18. Silverlight does not include data namespaces (client tech)! For most apps, this forces you to use a Service Oriented Architecture What about my data?
19. Silverlight includes support for WebClient, WebHttpRequest-classes REST, JSON, SOAP, … Windows Communication Foundation … almost any kind of service can be accessed Preferred way to communicate: through WCF BasicHttpBinding (BinaryEncoding) Communicating with Data Services
22. Zend_Soap_AutoDiscover Generates valid SOAP 1.2 Generates almost valid “WS-I Basic Profile 1.1” SilverlightStrategy to fix this Zend_Soap_Server Almost works with WS-I basic Profile 1.1 WSDL DocumentLiteralProxy to fix this Zend Framework SOAP
23. CrossDomain.xml / ClientAccessPolicy.xml Tells SL it/who can access the service Add reference to generate proxy, and initialize Add handler to completed event Call service method (Async) Communicating with SOAP Service
27. Contains controls, components, utilities to use in SL apps (MS, source available) AutoCompleteBox, different Panel controls, UpDown control, Treeview, Expander, … Charting component Unit testing framework Various themes included http://www.codeplex.com/Silverlight Resources: Silverlight Toolkit
29. Conclusion Silverlight is a perfect solution to enable rich content on the web PHP Services can be easily used in Silverlight to enable re-use of existing code & RAD
Editor's Notes
The view = the responsibility of the DESIGNER instead of a classic dev => does less coding, more graphical/artistic focussed person